Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 210 to skip non-number values #69

Merged
merged 1 commit into from
Oct 21, 2019
Merged

Fix 210 to skip non-number values #69

merged 1 commit into from
Oct 21, 2019

Conversation

roaldnefs
Copy link
Member

Fix rule 210 to skip unquoted non-number values (e.g. 000-default) as they aren't octal values but strings.

This commit also allows optional whitespace around the unquoted octal value, and the value followed by a YAML or JINJA comment (e.g. 0700 {# JINJA COMMENT #}).

Fixes #68.

Fix rule 210 to skip non-number values (e.g. `000-default`) as they
aren't octal values but strings.

This commit also allows optional whitespace around the unquoted octal
value, and the value followed by a YAML or JINJA comment (e.g.
`0700 {# JINJA COMMENT #}`).

Fixes #68.

Signed-off-by: Roald Nefs <info@roaldnefs.com>
@roaldnefs roaldnefs added Type: Bug Something isn't working Priority: High labels Oct 21, 2019
@roaldnefs roaldnefs requested a review from jbouter October 21, 2019 18:19
@roaldnefs roaldnefs merged commit 5264e66 into develop Oct 21, 2019
@jbouter jbouter deleted the fix/210-no-numbers branch October 21, 2019 21:02
@roaldnefs roaldnefs mentioned this pull request Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants